package java.com.lagou.dao;


import java.com.lagou.domain.Account;
import java.sql.SQLException;
import java.util.List;

public interface AccountDao {

    public List<Account> findAll() throws SQLException;

    public Account findById(Integer id);

    public void save(Account account);

    public void update(Account account);

    public void delete(Integer id);
}
